<?php

require_once 'Zend/View/Interface.php';

class Admin_View_Helper_DeleteUrl extends Zend_View_Helper_Abstract {

    public function deleteUrl($id, $controller, $position='#') {
        return "<a href='$position' onclick='confirmaDelete(\"".$this->view->url(array("module" => "admin", "controller" => $controller, "action" => "delete", "id" => $id))."\")'><img src='". $this->view->baseUrl() . "/images/delete.png" ."'/></a>";
    }


}

?>
